package org.ssm.demo.schedule;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * @Author: Junerain
 * @Description:
 * @Date:Created in 9:22 2018/5/11
 * @Modified By:
 */
public class printNameJob2 {

    private static int counter = 0;

    public void printMyName() {
        try {
            long ms = System.currentTimeMillis();
            System.out.println("王宇哈哈"+ counter+++"-----------"+new Date(ms));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
